/*
 * @Author       : wang chao
 * @Date         : 2023-10-11 14:08:44
 * @LastEditors  : wang chao
 * @LastEditTime : 2023-10-11 14:35:49
 * @FilePath     : dev_rtu_mb_rtu.h
 * @Description  :
 * Copyright 2023 BingShan, All Rights Reserved.
 */
#ifndef _SMRTU_MODBUS_RTU_H_
#define _SMRTU_MODBUS_RTU_H_

#include "dev_rtu_mb_base.h"
extern const dev_rtu_mb_core_t _mb_dev_rtu_core;

#define _MODBUS_SMRTU_HEADER_LENGTH     1
#define _MODBUS_SMRTU_PRESET_REQ_LENGTH 6
#define _MODBUS_SMRTU_PRESET_RSP_LENGTH 2

#define _MODBUS_SMRTU_CHECKSUM_LENGTH 2

#define _MODBUS_SMRTU_MAX_ADU_LENGTH 260

#endif /* _SMRTU_MODBUS_RTU_H_ */
